import zmail
import random
sender='531786847@qq.com'
code='fxqvalyklodxcagb'
server=zmail.server(sender,code)
user='viscaria@webmail.hzau.edu.cn'
receiver=[sender,user]
mail={
    'subject':'邮件测试',
    'content_text':'测试内容'
}
addressee=random.choice([receiver,user])
server.send_mail(addressee,mail)
